<?php $doctorShow = $doctor->getDoctorShowPortrait() ?>
<?php if (is_object($doctorShow)): ?>
    <?php echo image_tag("/uploads/doctors/" . $doctor->getId() . "/" . $doctorShow->getId() . "/" . $doctorShow->getPhotoUrl($height), array("alt" => $doctor->getUser(), "height" => $height . "px")) ?>
<?php endif; ?>